cd $ws_path
# 实时监控日志
tail -f --pid=$(cat train.pid) --sleep-interval=0.1 train.log